<template>
	<view class="content">
		<u-navbar title="红包记录" height="88rpx" :placeholder='true' leftIconColor="#fff"
			titleStyle='color:#fff;font-size:32rpx' left-icon-size="32rpx" bg-color="#FF594D" :autoBack="true">
		</u-navbar>
		<view class="filtrate">
			<search-button-input></search-button-input>
		</view>
		<view class="record_content">
			<view class="record_item">
				<view class="item_center">
					<view class="left">
						<view class="name">
							于庆子
						</view>
						<view class="tel">
							18868******
						</view>
					</view>
				</view>
				<view class="item_bottom">
					<view class="time">
						发送时间：2023-11-07 07:53:51
					</view>
					<view class="integral_num">
						积分：+100
					</view>
				</view>
				<view class="item_ce">
					<view class="current_integral">
						变动前积分：0
					</view>
					<view class="later">
						变动后积分：100
					</view>
				</view>
			</view>
			<view class="record_item">
				<view class="item_center">
					<view class="left">
						<view class="name">
							于庆子
						</view>
						<view class="tel">
							18868******
						</view>
					</view>
				</view>
				<view class="item_bottom">
					<view class="time">
						发送时间：2023-11-07 07:53:51
					</view>
					<view class="integral_num">
						积分：+100
					</view>
				</view>
				<view class="item_ce">
					<view class="current_integral">
						变动前积分：0
					</view>
					<view class="later">
						变动后积分：100
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				titleStyle: {
					color: '#fff',
				},
				delModel_show: true,
				inpCustomStyle: {
					border: 0,
					'border-radius': '10rpx',
					'background-color': '#f3f3f3',
					'box-sizing': 'border-box',
					padding: '20rpx 30rpx',
					color: "#D4D4D4"
				},
				radiolist1: [{
						name: '1.88金额',
						disabled: false
					},
					{
						name: '2.88金额',
						disabled: false
					},
					{
						name: '2元红包',
						disabled: false
					},
				],
				radiovalue1: '苹果',
			}
		},
		methods: {
			checkboxChange(n) {
				console.log(n);
			},
			navigateTo(url) {
				uni.navigateTo({
					url
				})
			},
			groupChange(n) {
				console.log('groupChange', n);
			},
			radioChange(n) {
				console.log('radioChange', n);
			}
		}
	}
</script>

<style lang="scss">
	.content {
		background-color: #f3f3f3;
		height: 100vh;

		.filtrate {
			background-color: #fff;

		}

		.record_content {
			padding: 20rpx;

			.record_item {
				background: #FFFFFF;
				border-radius: 20rpx 20rpx 20rpx 20rpx;
				padding: 20rpx 24rpx;
				margin-bottom: 20rpx;

				.item_top {
					width: 200rpx;
					height: 44rpx;
					background: #FF594D;
					border-radius: 79rpx 79rpx 79rpx 79rpx;
					color: #fff;
					text-align: center;
					line-height: 44rpx;
					font-size: 20rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					color: #FFFFFF;
				}

				.item_center {
					display: flex;
					justify-content: space-between;
					// padding: 20rpx 0;


					.left {
						display: flex;
						align-items: center;

						.name {
							font-size: 26rpx;
							font-family: PingFang SC, PingFang SC;
							font-weight: 800;
							color: #333332;
							padding-right: 20rpx;
						}

						.tel {
							font-size: 24rpx;
							font-family: PingFang SC, PingFang SC;
							font-weight: 500;
							color: #777777;
						}
					}

					.status {
						font-size: 24rpx;
						font-family: PingFang SC, PingFang SC;
						font-weight: 500;
						color: #777777;
						padding-right: 17rpx;
					}
				}

				.item_bottom {
					display: flex;
					justify-content: space-between;
					padding: 22rpx 0;
					align-items: center;

					.time {
						font-size: 24rpx;
						font-family: PingFang SC, PingFang SC;
						font-weight: 500;
						color: #777777;
					}

					.integral_num {
						font-size: 26rpx;
						font-family: PingFang SC, PingFang SC;
						font-weight: 500;
						color: #F44236;
					}
				}

				.item_ce {
					display: flex;
					justify-content: space-between;
					font-size: 24rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					color: #777777;

					.current_integral {}
				}
			}
		}
	}
</style>